
import { Routes, Route } from "react-router-dom";
import Gallery from './Gallery'
import Detail from './Detail'
function App() {



  return (
      <div >
          <Routes>
        <Route path="/" element={<Gallery />}></Route>
        <Route path="/detail/:id" element={<Detail />}></Route>
      </Routes>
        
      </div>
  );
}

export default App;
